<%--

  User: PING
  Date: 2022/9/7
  Time: 9:50
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java"
        import="com.javaweb.common.DBUtil"
        import="com.javaweb.common.StringTool"
        import="com.javaweb.common.DispatcherTool"%>

<html>
<meta charset="UTF-8">
<head>
    <title></title>
</head>
<body>
    <%
        // process the request from login UI
        request.setCharacterEncoding("utf-8");
        String name = StringTool.URLDecodeInUTF(request.getParameter("name")) ;
        DBUtil.updateVote(name);
        response.sendRedirect("show.jsp");

    %>

</body>
</html>
